
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

#lib name
LOCAL_MODULE    	:= oraylog-utils
LOCAL_CPP_EXTENSION := .cpp .cxx .cc 

LOGGER_PATH           := ./logger
TIMER_PATH           := ./time

LOCAL_SRC_FILES += \
    $(LOGGER_PATH)/flogger.cpp \
    $(LOGGER_PATH)/WriteLogger.hpp \
    $(TIMER_PATH)/timecnv.cpp \
    $(TIMER_PATH)/timer.cpp \
    # $(TIMER_PATH)/httpdate.c \
    # $(TIMER_PATH)/HighResTime.cpp \
    
LOCAL_C_INCLUDES += \
    $(LOCAL_PATH) \
    $(LOCAL_PATH)/$(LOGGER_PATH) \
    $(LOCAL_PATH)/$(TIMER_PATH) \

#LOCAL_LDLIBS += -Wl,--no-warn-shared-textrel
# LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true

LOCAL_LDLIBS    += -lm -pthread -lstdc++

include $(BUILD_STATIC_LIBRARY)
